package pub.wkq.springbatch;

import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author 21129
 */
@SpringBootApplication
@EnableBatchProcessing  // 开启Spring Batch 组件，让  Spring 容器创建 Spring Batch 的相关类对象。
public class SpringbatchApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbatchApplication.class, args);
    }

}
